package com.jrx.anytxn.feign.param.request;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 出资方额度使用请求实体
 *
 * @author liuyang
 * @date 2020-06-09
 */
public class HandleInvestorLimitReq implements Serializable {

    private String tenantId; // 租戶id

    private String seqNo; // 流水号

    private String channel; // 渠道号

    private String investorId; // 出资方id

    private String productId; // 产品编号

    private BigDecimal amount; // 金额

    private String creditType; // 额度类型

    private String useType; // 使用类型

    public HandleInvestorLimitReq(String tenantId, String seqNo, String channel, String investorId, String productId, BigDecimal amount, String creditType, String useType) {
        this.tenantId = tenantId;
        this.seqNo = seqNo;
        this.channel = channel;
        this.investorId = investorId;
        this.productId = productId;
        this.amount = amount;
        this.creditType = creditType;
        this.useType = useType;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getSeqNo() {
        return seqNo;
    }

    public void setSeqNo(String seqNo) {
        this.seqNo = seqNo;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getInvestorId() {
        return investorId;
    }

    public void setInvestorId(String investorId) {
        this.investorId = investorId;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getCreditType() {
        return creditType;
    }

    public void setCreditType(String creditType) {
        this.creditType = creditType;
    }

    public String getUseType() {
        return useType;
    }

    public void setUseType(String useType) {
        this.useType = useType;
    }

    @Override
    public String toString() {
        return "HandleInvestorLimitReq{" +
                "tenantId='" + tenantId + '\'' +
                ", seqNo='" + seqNo + '\'' +
                ", channel='" + channel + '\'' +
                ", investorId='" + investorId + '\'' +
                ", productId='" + productId + '\'' +
                ", amount=" + amount +
                ", creditType='" + creditType + '\'' +
                ", useType='" + useType + '\'' +
                '}';
    }
}
